package com.sale.system.service;

import com.sale.common.mybatis.core.page.PageQuery;
import com.sale.common.mybatis.core.page.TableDataInfo;
import com.sale.system.domain.dto.SysWorkbenchAuditAgentDto;
import com.sale.system.domain.vo.SysWorkbenchAuditAgentVo;


/**
 * 审核代办 service
 */
public interface SysWorkbenchAuditAgentService {

    /**
     * 审核代办分页列表
     */
    TableDataInfo<SysWorkbenchAuditAgentDto> getList(SysWorkbenchAuditAgentVo sysWorkbenchAuditAgentVo, PageQuery pageQuery);

    /**
     * 新增审核单据消息提醒
     * @param sysWorkbenchAuditAgentVo
     * @return
     */
    boolean insertAuditAgent(SysWorkbenchAuditAgentVo sysWorkbenchAuditAgentVo);

    /**
     * 修改审核单据状态
     * @param status,receiptNumber
     * @return
     */
    boolean updateStatus(int status,String receiptNumber,String modelName);

    /**
     * 删除审核待办
     * @param receiptNumber
     * @return
     */
    boolean deleteDoc(String receiptNumber,String modelName);
}
